package org.seedltd.upms.model.detection.vo;

import java.util.Date;

import org.seedltd.core.jackson.annotation.DynamicEnum;
import org.seedltd.upms.constant.DictKeyConst;
import org.seedltd.upms.constant.GlobalConst;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;

/**
 * 订单退款信息显示层
 * 
 * @author laizuan
 * @since 2021/07/31
 */
@Getter
@Setter
public class DetectionOrderBindingVO {

    /**
     * 主键
     */
    private Long id;

    /**
     * 订单主键
     */
    private Long orderId;

    /**
     * 样板采集时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date sampleTime;

    /**
     * 采样者名字
     */
    private String username;

    /**
     * 采样者年纪
     */
    private Integer age;

    /**
     * 性别
     */
    @DynamicEnum(localData = GlobalConst.GENDER_STR)
    private Integer gender;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 样本类型
     */
    @DynamicEnum(type = DictKeyConst.SAMPLE_TYPE)
    private String sampleType;

    /**
     * 二维码编号
     */
    private String codeNo;
}
